package com.jr.service.impl;

import com.jr.entity.Resume;
import com.jr.mapper.ResumeMapper;
import com.jr.service.ResumeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ResumeServiceImpl implements ResumeService {
    @Autowired
    private ResumeMapper resumeMapper;

    public ResumeMapper getResumeMapper() {
        return resumeMapper;
    }

    public void setResumeMapper(ResumeMapper resumeMapper) {
        this.resumeMapper = resumeMapper;
    }

    @Override
    public int addOneMinuteResume(Resume resume) {
        return resumeMapper.addresume(resume);
    }

}
